// 常量.
export class Constant {
  // 是否微信环境
  static readonly IS_WECHAT = /MicroMessenger/i.test(navigator.userAgent);

  // 是否支付宝环境
  static readonly IS_ALIPAY = /AlipayClient/i.test(navigator.userAgent);

  // 是否银联环境
  static readonly IS_UNIONPAY = /UnionPay/i.test(navigator.userAgent);
}
